#include "Target.h"
#include "TargetTracker2012.h"
#include "Include.h"

namespace Team675
{

Target::Target()
{
	m_report = NULL;
	m_position = TARGET_BOTTOM;
	m_initialized = false;
	m_distance = m_azimuth = m_cameraAngle = -1;
}

void Target::Print()
{
	switch (m_position)
	{
	case TARGET_LEFT:
		printf("left: ");
	break;
	case TARGET_RIGHT:
		printf("right: ");
	break;
	case TARGET_TOP:
		printf("top: ");
	break;
	case TARGET_BOTTOM:
		printf("bottom: ");
	break;
	
	default:
	break;
	}
		
	if(m_initialized == true) {
		printf("d:%.1f az: %.1f  caw: %.1f \n ", m_distance, m_azimuth * DEGREES_PER_RADIAN,
				m_targetAngleWidth * DEGREES_PER_RADIAN);
	}
	else {
		printf("NOT SEEN\n");
	}
	
}

}
